//
//  QingQiuShuJu.h
//  XiangMu
//
//  Created by 康世标 on 15/7/21.
//  Copyright (c) 2015年 康世标. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "NSString+MD5.h"
#import "UrlHeader.h"
#import "YiYuanPeiHuShuJu.h"
typedef void (^YiYuanBlock)(NSMutableArray*arr,BOOL isOK);
typedef void (^YanZhengMg) (NSString * zhu,BOOL isOK);
typedef void (^UeserInfo)(NSDictionary * dic,BOOL isOK);
@interface QingQiuShuJu : NSObject
//登陆
+ (void)DengLu:(NSString*)iphoen Psw:(NSString *)psw HuiChuan:(UeserInfo)block;
//医院陪护

+ (void)YiYuanPeiHu:(YiYuanBlock)blcok;

//社区的老人陪护
+ (void)SheQuDeLaoRenPeiHu:(YiYuanBlock)block1;

//获取护工
+ (void)HuoQuHongGong:(NSDictionary *)dic1 HuGong:(YiYuanBlock)blick;
//获取验证码
+ (void) HuoQuYanZhengMa:(NSString *)iphone url:(NSString *)url Hui:(YanZhengMg )block;
//注册
+ (void)ZhuCe:(NSString *)iphone YanZhengMa:(NSString *)yan PsW:(NSString *)psw url:(NSString *)url HuiChuan:(YanZhengMg)block;

//获取首页图片
+ (void)ShouYeImagView:(NSString *)type HuiChuan:(YiYuanBlock)block;

//获取全部分享

+ (void)HuoQuQuanBuFenXiang:(NSDictionary *)dic HuiChuan:(YiYuanBlock)block;
//筛选分享

+ (void)ShaiXuanFenXiang:(NSDictionary *)dic HuiChuan:(YiYuanBlock)block;
// 获取分享图片的评论

+ (void)PingLu:(NSDictionary *)dic HuiChuan:(YiYuanBlock)block;

//获取发布陪护时的各种类型数据
+ (void)HuoQuFaBuShiDeShuJu:(YiYuanBlock)block;
//发布陪护

+ (void)FaBuPeiHu:(NSDictionary *)dic HuiChuan:(YiYuanBlock)block;
//发布分享
+ (void)FaBuFenXiang:(NSDictionary *)dic imagView:(NSArray *)arr HuiChuan:(YiYuanBlock)block;
//获取陪护评价

+ (void)HuoQuPeiHuPingJia:(NSNumber *)number HuiChuan:(YiYuanBlock)block;
//修改用户资料
+ (void)upDate:(NSNumber *)number Param:(NSString *)param Block:(UeserInfo )block;
//上传用户头像
+ (void)ShangChuanImagView:(UIImage *)image ID:(NSNumber *)numberID Block:(UeserInfo )block;
//下单获取护理信息

+ (void)getHuLixinxi:(NSNumber *)number carerId:(NSNumber *)carerId Blokc:(UeserInfo)block;
//分享点赞
+ (void)FenXiangDianZan:(NSNumber *)userId sheareId:(NSNumber *)shareId Blokc:(UeserInfo )blokc;
//获取我的订单
+ (void)HuoQuWoDeDingDan:(NSDictionary *)dic Block:(UeserInfo)blcok;
//获取我的地址
+ (void)getWoDeDiZhi:(NSNumber *)number BLokc:(UeserInfo)blokc;
//新增地址
+ (void)addDiZhi:(NSDictionary * )dic block:(UeserInfo)block;
//我的收藏
+ (void)getWodeShoucang:(NSDictionary * )dic Block:(UeserInfo)block;
//优惠劵
+ (void)getWoDeYouHuiJuan:(NSNumber *)number Block:(UeserInfo)block;
//添加评论
+ (void)addPingLu:(NSDictionary *)dic Block:(UeserInfo)block;
//我的订单详情
+ (void)getwoDeDingDanXiangQing:(NSString * )url number:(NSString *)number Block:(UeserInfo)block;
//收藏陪护师
+ (void)AddPeiHuShiShouCang:(NSNumber *)userId carerId:(NSNumber *)carerId block:(UeserInfo)block;
// 意见反馈
+  (void)YiJianFanKui:(NSNumber *)userId advice:(NSString *)advice blcok:(UeserInfo)block;
//订单评价
+ (void)dingDanPingJia:(NSDictionary *)parem blcok:(UeserInfo)block;
//提前结束
+ (void)tiQianJieShu:(NSDictionary *)parem block:(UeserInfo)block;
//下单页面查询价格
+ (void)jieGeChaXun:(NSDictionary *)parem block:(UeserInfo)block;
//付款测试
+ (void)fuKuan;
//创建订单
+ (void)chuanJianDingDan:(NSDictionary *)parem block:(UeserInfo)block;
//获取支付信息
+ (void)getHuoQuZhiFuXinXI:(NSDictionary *)parameter block:(UeserInfo)block;
//删除用户地址
+ (void)deleteWithDiZhi:(NSDictionary *)paremeter blcok:(UeserInfo)blcok;
//未支付订单取消
+ (void)weiZhiFuDingDanQuXiao:(NSNumber *)orderId blcok:(UeserInfo)block;
//搜索
+ (void)souSuoShuJu:(NSString *)context block:(UeserInfo)block;
+ (void)zhiFuBao:(UeserInfo)block;
//支付宝支付
+ (void)zhiFuBao:(NSDictionary *)paremeter block:(UeserInfo)block;

//获取已发布

+ (void)getRelease:(NSDictionary *)paremeter blcok:(UeserInfo )blcok;
//线下支付
+ (void)xianXiaZhiFu:(NSDictionary *)paremeter block:(UeserInfo)block;





@end
